<?php

  /*
  define('dblocation', "localhost"); 
  define('dbuser',  "babagayr_bgvst");    
  define('dbpasswd',  "_cXEiSXZ2w+Q");     
  define('dbname',  "babagayr_blagovist"); 
  */

  
 if($_SERVER['SERVER_ADDR'] == '127.0.0.1'){
     define('dblocation', "localhost");
     define('dbuser',  "root");
     define('dbpasswd',  "");
     define('dbname',  "test");
 } else {
     define('dblocation', "localhost");
     define('dbuser',  "babagayr_remont");
     define('dbpasswd',  ")(I?J7OoBz=_");
     define('dbname',  "babagayr_remontik");
 }

// jqGrid
define('DB_DSN','mysql:host='. dblocation .';dbname=' . 'northwind');
define('DB_USER', dbuser);
define('DB_PASSWORD', dbpasswd); 

//define('ABSPATH', 'C:\wamp\www\admin_remontik'.'/');
//define('ABSPATH', dirname(__FILE__).'/');
define('ABSPATH', PUBLIC_PATH . '/');